<!--$# TODO header ad -->
<!--$if{!_SGLOBAL['inajax']}-->
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="content-type" content="text/html; charset=${_SC['charset']}" />
<meta http-equiv="x-ua-compatible" content="ie=7" />
<title><!--$if{_TPL['titles'] != null}--><!--$for{value:_TPL['titles']}--><!--$if{value}-->${value} - <!--$end--><!--$end--><!--$end--><!--$if{space}-->${_SN[space['uid']]} - <!--$end-->${_SCONFIG['sitename']} - Powered by You&Me</title>

<script language="javascript" type="text/javascript" src="${request.contextPath}/js/jquery-1.4.1.js"></script>
<script language="javascript" type="text/javascript" src="${request.contextPath}/js/jquerytools/tools.tooltip-1.0.2.js"></script>

<script language="javascript" type="text/javascript" src="source/script_cookie.js"></script>
<script language="javascript" type="text/javascript" src="source/script_common.js"></script>
<script language="javascript" type="text/javascript" src="source/script_menu.js"></script>
<script language="javascript" type="text/javascript" src="source/script_ajax.js"></script>
<script language="javascript" type="text/javascript" src="source/script_face.js"></script>
<script language="javascript" type="text/javascript" src="source/script_manage.js"></script>

<script language="javascript" type="text/javascript" src="${request.contextPath}/dwr/engine.js"></script>



<style type="text/css">
@import url(css/base.css);
<!--$if{_SGLOBAL['space_theme']}-->
@import url(template/default/style.css);
@import url(theme/${_SGLOBAL[space_theme]}/style.css);
<!--$else-->
@import url(template/${_SCONFIG['template']}/style.css);
<!--$end-->
<!--$if{_SGLOBAL['space_css']}-->
${_SGLOBAL['space_css']}
<!--$end-->
/* TODONOW */
@import url(theme/new/style.css);
</style>
<link rel="shortcut icon" href="image/favicon.ico" />
<link rel="edituri" type="application/rsd+xml" title="rsd" href="xmlrpc.html?rsd=${space['uid']}" />
</head>
<body>
<div id="append_parent"></div>
<div id="ajaxwaitid"></div>

	<div id="header">
	<!--$if{_SGLOBAL['ad']['header']}--><div id="ad_header"><!--{ad/header}--></div><!--$end-->
  
  
  
  <link rel="stylesheet" href="${request.contextPath}/js/jquery-megamenu/stylesheets/jquery.megamenu.css" type="text/css" media="screen" />
  
  <script src="${request.contextPath}/js/jquery-megamenu/javascripts/jquery.megamenu.js" type="text/javascript">
  </script>
  <script type="text/javascript">
      jQuery(document).ready(function(){
        jQuery(".MegaMenuLink").megamenu(".MegaMenuContent");
      });
  </script>

  
  
  
	<div class="headerwarp">
    <div class="nav_account">
    <!--$if{_SGLOBAL['supe_uid']}-->
      <a href="space.html?uid=${_SGLOBAL['supe_uid']}" class="login_thumb"><img src="${&com.heaven.web.utils.Common.avatar(_SGLOBAL['supe_uid'], 'small')}" alt="${_SN[_SGLOBAL['supe_uid']]}" width="20" height="20" /></a>
      <div class="welcome_text">
      hi, <a href="space.html?uid=${_SGLOBAL['supe_uid']}" class="loginName">${_SN[_SGLOBAL['supe_uid']]}</a>
      <!--$if{_SN[_SGLOBAL['supe_uid']]!=_SGLOBAL['username']}-->(${_SGLOBAL['supe_username']})<!--$end-->
      ( <a href="cp.html?ac=common&op=logout">logout</a> )
      </div> 
    <!--$else-->
      <span class="welcome_text">
      <!--$# <a href="do.html?ac=${_SCONFIG['register_action']}" class="login_thumb"><img src="${&com.heaven.web.utils.Common.avatar("", "small")}" width="20" height="20" /></a>  #$-->
      <a href="do.html?ac=${_SCONFIG['login_action']}">登录</a> | 
      <a href="do.html?ac=${_SCONFIG['register_action']}">注册</a>
      </span>
    <!--$end-->
      
    </div>
    <!--$if{_SGLOBAL['supe_uid']}-->
    <div class="MegaMenu">
        <!-- <a class="MegaMenuLinkOff" href="#">Normal Menu</a> -->
        <a class="MegaMenuLink" href="javascript:void(0)"><img src="${request.contextPath}/image/famfam/cup_add.png"/>New</a>
        <div class="MegaMenuContent">
            <table class="MegaMenuTable" border="0">
                <tr>
                    <td>
                        <ul class="MegaMenuLists">
                            <li><a href="${request.contextPath}/space.html?uid=2&do=doing&view=me">Work Wtatus</a></li>
                            <li><a href="${request.contextPath}/cp.html?ac=upload">Photo</a></li>
                            <li><a href="${request.contextPath}/space.html?do=share">Bookmark</a></li>
                            <li><a href="${request.contextPath}/cp.html?ac=blog">Blog Post</a></li>
                            <li class="icon_document"><a href="${request.contextPath}/cp.html?ac=document" id="new_document" onclick="ajaxmenu(event, this.id, 99999,'' , -1)">Document</a></li>
                            <li><a href="${request.contextPath}/cp.html?ac=thread">Group Topic</a></li>
                        </ul>
                    </td>
                </tr>
            </table>
        </div>
        
        <a class="MegaMenuLink" href="javascript:void(0)"><img src="${request.contextPath}/image/famfam/user.png"/>Your Staff</a>
        <div class="MegaMenuContent">
            <table class="MegaMenuTable" border="0">
                <tr>
                    <th>
                        <div class="MegaMenuHead">
                            <a href="${request.contextPath}/space.html?uid=${space.uid}">Your Space</a>
                        </div>
                    </th>
                </tr>
                <tr>
                    <td>
                        <ul class="MegaMenuLists">
                          <li><a href="${request.contextPath}/space.html?uid=${space.uid}&do=doing&view=me">Records</a></li>
                          <li><a href="${request.contextPath}/space.html?uid=${space.uid}&do=blog&view=me">Blogs</a></li>
                          <li><a href="${request.contextPath}/space.html?uid=${space.uid}&do=album&view=me">Albums</a></li>
                          <li><a href="${request.contextPath}/space.html?uid=${space.uid}&do=share&view=me">Shares</a></li>
                          <li><a href="${request.contextPath}/space.html?uid=${space.uid}&do=wall&view=me">Notes</a></li>
                          <li><a href="${request.contextPath}/space.html?uid=${space.uid}&do=thread&view=me">Discussions</a></li>
                          <li><a href="${request.contextPath}/space.html?uid=${space.uid}&do=friend&view=me">Friends</a></li>
                          <li><a href="${request.contextPath}/space.html?do=mtag">Groups</a></li>
                          <li><a href="${request.contextPath}/space.html?uid=${space.uid}&do=project&view=me">Projects</a></li>
                        </ul>
                    </td>
                    <td class="LastCell">
                        <ul class="MegaMenuLists">
                            <!--$if{!_SCONFIG['closeinvite'] || !_SCONFIG['closeinvite'].toInteger}-->
                            <li><a href="${request.contextPath}/cp.html?ac=invite">Invite</a></li>
                            <!--$end-->
                            <li><a href="${request.contextPath}/cp.html">Setting</a></li>
                            <li><a href="cp.html?ac=privacy">privacy</a></li>
                        </ul>
                    </td>
                </tr>
            </table>
        </div>
    
    
    
        <a class="MegaMenuLink" href="javascript:void(0)"><img src="${request.contextPath}/image/famfam/eye.png"/>Browse</a>
        <div class="MegaMenuContent">
            <table class="MegaMenuTable" border="0">
                <tr>
                    <th>
                        <div class="MegaMenuHead">
                            <a href="${request.contextPath}/network.html" >View All</a>
                        </div>
                    </th>
                </tr>
                <tr>
                    <td>
                        <ul class="MegaMenuLists">
                          <li><a href="${request.contextPath}/space.html?do=doing">Records</a></li>
                          <li><a href="${request.contextPath}/space.html?do=blog">Blogs</a></li>
                          <li><a href="${request.contextPath}/space.html?do=album">Albums</a></li>
                          <li><a href="${request.contextPath}/space.html?do=share">Shares</a></li>
                        </ul>
                    </td>
                    <td class="LastCell">
                        <ul class="MegaMenuLists">
                          <li><a href="${request.contextPath}/space.html?uid=${space.uid}&do=thread">Discussions</a></li>
                          <li><a href="${request.contextPath}/space.html?do=friend">Connections</a></li>
                          <li><a href="${request.contextPath}/space.html?do=mtag">Groups</a></li>
                        </ul>
                    </td>
                </tr>
                <!-- 
                <tr>
                    <td colspan="2" class="LastCell">
                        <div style="padding: 10px 10px 0px 10px;">
                            More text can go here.
                        </div>
                    </td>
                </tr>
                 -->
            </table>
        </div>
        <a class="MegaMenuLinkOff" href="${request.contextPath}/"><img src="${request.contextPath}/image/famfam/folder_page.png"/>Feeds</a>
    </div><!-- mega menu end -->   
    <!--$end-->
	</div>

	<div id="wrap">

	<!--$if{(!_TPL['nosidebar'])}-->
	<div id="main">
		<div id="app_sidebar">
		<!--$if{_SGLOBAL['supe_uid']}-->

		
		<!--$else-->
			<div class="bar_text">
				<form id="loginform" name="loginform" action="do.html?ac=${_SCONFIG['login_action']}&ref" method="post">
				<input type="hidden" name="formhash" value="<!--${&com.heaven.web.utils.Common.formhash()}-->" />
					<p class="title">登录站点</p>
					<p>用户名</p>
					<p><input type="text" name="username" id="username" class="t_input" size="15" value="" /></p>
					<p>密码</p>
					<p><input type="password" name="password" id="password" class="t_input" size="15" value="" /></p>
					<p><input type="checkbox" id="cookietime" name="cookietime" value="315360000" checked /><label for="cookietime">记住我</label></p>
					<p>
						<input type="submit" id="loginsubmit" name="loginsubmit" value="登录" class="submit"  />
						<a href="do.html?ac=${_SCONFIG['register_action']}" class="button">注册</a>
					</p>
				</form>
			</div>
		<!--$end-->
		</div>

		<div id="mainarea">
		
		<!--$if{_SGLOBAL['ad']['contenttop']}--><div id="ad_contenttop"><!--{ad/contenttop}--></div><!--$end-->
	<!--$end-->

<!--$end-->
